package com.xyf.sys.service;

import com.xyf.sys.domain.Goods;
import com.xyf.sys.domain.RegimentAssist;
import com.xyf.sys.domain.User;
import com.xyf.sys.vo.GoodsListParam;

import java.util.List;

/**
 * @Author R-H
 * @Date 2024/8/311112
 * @Description
 */
public interface IGoodsService {

    void add(Goods goods);

    int insert(Goods goods);

    int update(Goods goods);

    Integer countGoods();

    List<Goods> getList(GoodsListParam body);

    Goods get(Long id);

    Goods getInfo(Long id);

    Object remove(Long id, String userId);

    Object downGoods(Long id, String userId);

    List<User> queryCommunityGroupBuyingList(Long queryDeptId);

    Object upGoods(Long id, String userId);

    Object updateStock(Goods goods);

    List<Goods> queryGoodsByDeptId(Long deptId);

    List<Goods> getList(Long[] ids);
}
